﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ShoppingCartSubColumn.ascx.cs"
    Inherits="HCFramework.Product.ShoppingCart.ShoppingCartSubColumn" %>
<%@ Register Src="~/Control/Group/Group01Header.ascx" TagName="Group01Header" TagPrefix="uc1" %>
<%@ Register Src="~/Control/Group/Group01Footer.ascx" TagName="Group01Footer" TagPrefix="uc2" %>
<uc1:Group01Header Title="Giỏ hàng" ID="Group01Header1" runat="server" />
<asp:Panel ID="panelMessage" runat="server" HorizontalAlign="Center">
    <%=M.Common.GetLang("Giỏ hàng trống")%>
</asp:Panel>
<asp:Panel ID="panelContent" runat="server">
    <table border="0" cellpadding="0" cellspacing="0">
        <asp:ListView ID="ListView1" runat="server" OnPreRender="ListView1_PreRender" 
            onitemdatabound="ListView1_ItemDataBound">
            <ItemTemplate>
                
                <tr>
                    <td style="font-weight:bold;">
                        <%#Eval("Count")%>
                        x
                    </td>
                    <td align="left">
                        &nbsp;
                        <a target="_blank" href='/Product/Detail/Default.aspx?productID=<%#Eval("ProductId")%>'>
                            <%#Eval("ProductName")%>
                        </a>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:ListView>
    </table>
    <div align="center" style="padding:10px;">
        <asp:HyperLink ID="HyperLink1" NavigateUrl="/Product/ShoppingCart/Default.aspx" CssClass="linkButton" runat="server">
            <%=M.Common.GetLang("Chi tiết") %>
        </asp:HyperLink>
    </div>
</asp:Panel>
<uc2:Group01Footer ID="Group01Footer1" runat="server" />
